package com.example.other.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderQueryParams {
    private String phone;
    private String realName;
    private Integer sex;
    private Integer smid;
    private Date orderdate;
    private Integer state;
    private Integer page;
    private Integer size;

    @Override
    public String toString() {
        return "OrderQueryParams?"
                +"phone="+phone
                +"&realName="+realName
                +"&sex="+sex
                +"&smid="+smid
                +"&orderdate="+orderdate
                +"&state="+state
                +"&page="+page
                +"&size="+size;
    }

}
